import { base } from '@/config'
import http from '@/utils/request'

const log = {
  // 登录日志
  getLoginLog: params => {
    return http.get(`${base.system}/log/login/logList`, params)
  },
  // 操作日志
  getLogList: params => {
    return http.get(`${base.system}/log/operate/logList`, params)
  }
}

export default log
